package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 类型/标签表
 * </p>
 *
 * @author quin.song
 * @since 2024-05-20
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "Type对象", description = "类型/标签表")
public class Type implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("类型id")
    @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;

    private Integer taskId;

    @ApiModelProperty("1、活动类型  2、场地类型  3、授课类型")
    private Integer typeMode;

    @ApiModelProperty("类型名称")
    private String typeName;

    @ApiModelProperty("额外字段1、不排课/课程  2、可排课/环节")
    private Integer flag;

//    @ApiModelProperty("二进制图标")
//    private Byte[] icon;

    @ApiModelProperty("二进制图标，1 军训 2 实习 3 考试 4 运动会 5 其他")
    private Integer icon;
}
